package com.tgy.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tgy.pojo.BlogUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 博客用户表;(blog_user)表数据库访问层
 * @author : http://www.chiner.pro
 * @date : 2022-7-14
 */
@Mapper
public interface BlogUserMapper  extends BaseMapper<BlogUser>{

     int updateStatus(@Param("id") String id, @Param("status") Integer status);

    List<BlogUser> queryByAccountAndNick(@Param("account") String account, @Param("nickname") String nickname);
}